package com.business.domain;

import com.sys.annotation.EcexlFiled;

import java.util.Date;
import java.util.List;

public class Loan {

    private Integer id;
    @EcexlFiled(1)
    private String productName;

    private String imageUrl;
    @EcexlFiled(7)
    private String limitedBrands;

    private Double proOrder;
    @EcexlFiled(4)
    private Double payment;
    @EcexlFiled(5)
    private Double amount;
    @EcexlFiled(6)
    private Double amountScale;

    private Integer interest;
    @EcexlFiled(8)
    private Double minAptitude;
    @EcexlFiled(9)
    private Double maxAptitude;
    @EcexlFiled(10)
    private Double income;
    @EcexlFiled(11)
    private String credit;
    @EcexlFiled(12)
    private String place;
    @EcexlFiled(13)
    private String process;
    @EcexlFiled(14)
    private Integer period;
    @EcexlFiled(15)
    private String repayment;

    @EcexlFiled(2)
    private Integer installment;
    @EcexlFiled(16)
    private String described;
    @EcexlFiled(17)
    private String enterpriseName;
    @EcexlFiled(18)
    private String enterpriseAddress;
    @EcexlFiled(19)
    private String representative;

    private Date creatime;

    private Date updatetime;

    private Boolean isDelete;

    private Integer loanType;

    private Integer isPledge;

    private List<LoanInterest> interestList;

    public List<LoanInterest> getInterestList() {
        return interestList;
    }

    public void setInterestList(List<LoanInterest> interestList) {
        this.interestList = interestList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    public String getLimitedBrands() {
        return limitedBrands;
    }

    public void setLimitedBrands(String limitedBrands) {
        this.limitedBrands = limitedBrands == null ? null : limitedBrands.trim();
    }

    public Double getProOrder() {
        return proOrder;
    }

    public void setProOrder(Double proOrder) {
        this.proOrder = proOrder;
    }

    public Double getPayment() {
        return payment;
    }

    public void setPayment(Double payment) {
        this.payment = payment;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getAmountScale() {
        return amountScale;
    }

    public void setAmountScale(Double amountScale) {
        this.amountScale = amountScale;
    }

    public Integer getInterest() {
        return interest;
    }

    public void setInterest(Integer interest) {
        this.interest = interest;
    }

    public Double getMinAptitude() {
        return minAptitude;
    }

    public void setMinAptitude(Double minAptitude) {
        this.minAptitude = minAptitude;
    }

    public Double getMaxAptitude() {
        return maxAptitude;
    }

    public void setMaxAptitude(Double maxAptitude) {
        this.maxAptitude = maxAptitude;
    }

    public Double getIncome() {
        return income;
    }

    public void setIncome(Double income) {
        this.income = income;
    }

    public String getCredit() {
        return credit;
    }

    public void setCredit(String credit) {
        this.credit = credit == null ? null : credit.trim();
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place == null ? null : place.trim();
    }

    public String getProcess() {
        return process;
    }

    public void setProcess(String process) {
        this.process = process == null ? null : process.trim();
    }

    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public String getRepayment() {
        return repayment;
    }

    public void setRepayment(String repayment) {
        this.repayment = repayment == null ? null : repayment.trim();
    }

    public Integer getInstallment() {
        return installment;
    }

    public void setInstallment(Integer installment) {
        this.installment = installment;
    }

    public String getDescribed() {
        return described;
    }

    public void setDescribed(String described) {
        this.described = described == null ? null : described.trim();
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName == null ? null : enterpriseName.trim();
    }

    public String getEnterpriseAddress() {
        return enterpriseAddress;
    }

    public void setEnterpriseAddress(String enterpriseAddress) {
        this.enterpriseAddress = enterpriseAddress == null ? null : enterpriseAddress.trim();
    }

    public String getRepresentative() {
        return representative;
    }

    public void setRepresentative(String representative) {
        this.representative = representative == null ? null : representative.trim();
    }

    public Date getCreatime() {
        return creatime;
    }

    public void setCreatime(Date creatime) {
        this.creatime = creatime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getLoanType() {
        return loanType;
    }

    public void setLoanType(Integer loanType) {
        this.loanType = loanType;
    }

    public Integer getIsPledge() {
        return isPledge;
    }

    public void setIsPledge(Integer isPledge) {
        this.isPledge = isPledge;
    }

    @Override
    public String toString() {
        return "Loan [id=" + id + ", productName=" + productName + ", imageUrl=" + imageUrl + ", limitedBrands=" + limitedBrands + ", proOrder=" + proOrder + ", payment=" + payment + ", amount=" + amount + ", amountScale=" + amountScale + ", interest=" + interest + ", minAptitude=" + minAptitude + ", maxAptitude=" + maxAptitude + ", income=" + income + ", credit=" + credit + ", place=" + place + ", process=" + process + ", period=" + period + ", repayment=" + repayment + ", installment=" + installment + ", described=" + described + ", enterpriseName=" + enterpriseName + ", enterpriseAddress=" + enterpriseAddress + ", representative=" + representative + ", creatime=" + creatime + ", updatetime=" + updatetime + ", isDelete=" + isDelete + ", loanType=" + loanType + ", isPledge=" + isPledge
                + ", interestList=" + interestList + "]";
    }

}